package com.fc.redap.dao;

import com.fc.redap.entity.SmsHistoryEntity;
import org.apache.ibatis.annotations.Param;

public interface SmsHistoryDao extends BaseDao<SmsHistoryEntity> {

    SmsHistoryEntity queryByMobileAndCode(@Param(value = "phone") String phone, @Param(value = "code") String code);

    SmsHistoryEntity queryLastSms(@Param(value = "phone") String phone, @Param(value = "module") Integer module);
}
